package xdu.ble.user.config;

import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @Author com.alibaba.lizhen
 * @Date 2021/1/14 4:01 下午
 * @Version 1.0
 * @Description
 */
//@Configuration
//@EnableConfigurationProperties(YmlConfig.class)
public class SpringConfig implements WebMvcConfigurer {
//
//    @Autowired
//    private YmlConfig ymlConfig;
//
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        InterceptorRegistration interceptor = registry.addInterceptor(new LoginInterceptor(ymlConfig));
//        interceptor.addPathPatterns("/**");
//    }
}
